"""
def function(param):
    函数体
    return 返回值

"""


def multiply(x, y):
    """
    x 的 y 次方
    :param x: a
    :param y: b
    :return: x ** y
    """
    return x ** y


def multiply2(a_m, b_m):
    a_m = a_m * b_m


def make_pizza(size, *toppings):  # *kwargs -> use tuple    **kwargs -> use dictionary
    print(f"\nMaking a {size}-inch pizza with the followings toppings:")
    for topping in toppings:
        print(f"- {topping}")


# if __name__ == '__main__':
#     # function(param)
#     a = 2
#     b = 3
#     result = multiply(2, 3)
#     multiply2(a, b)
#     print(result)
#     print("a = %s" % a)
#     a = 4
#     print(a)
#     print("-" * 20)

if __name__ == '__main__':
    make_pizza(12, "mushrooms", "green peppers", "extra cheese")
